<html manifest="IGNORE.manifest"  lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/index.css"  th:href="@{${uiPath} + ${appName} + '/css/index.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/reset.css" th:href="@{${uiPath} + ${appName} + '/css/reset.css'}" />
    <link rel="stylesheet" type="text/css" href="../css/CLSRZ.css"  th:href="@{${uiPath} + ${appName} + '/css/CLSRZ.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/zdialog.css"  th:href="@{${uiPath} + ${appName} + '/css/zdialog.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/webuploader.css"  th:href="@{${uiPath} + ${appName} + '/css/webuploader.css'}"/>
    <script type="text/javascript" src="../js/flexible.js" th:src="@{${uiPath} + ${appName} + '/js/flexible.js'}"></script>
</head>
<body>
<div class="rzzong">
    <form id="commentForm" th:action="@{'/designerUser/sjtSave'}" method="post">
        <div class="gtoubu">
            <a href="CLSSingle.html"><img class="fanhui" src="../images/raw_1503386635.png" alt="" th:src="@{${uiPath} + ${appName} + '/images/raw_1503386635.png'}"></a>
            <p class="biaoti">设计图</p>
        </div>

        <div class="renzhengtishi">

            <img class="dingwei dingweiyixa" src="../images/raw_1503289426.png" alt=""th:src="@{${uiPath} + ${appName} + '/images/raw_1503289426.png'}">
            <div class="kuaiw"></div>
            <div id="shctp1"  th:if="${not #lists.isEmpty(data.wuliaotu)}" >
                <div id="uploader-demo" style="width: 10rem">
                    <div id="filePickerd" class="zhaopianbeijing" style="width: 10rem"></div>
                    <div id="fileList" class="xqtu uploader-list" style="width: 10rem"  th:style="'width: 10rem;background-image: url('+${data.wuliaotu}+')'"></div>
                </div>
            </div>

            <div id="shctp1"  th:if="${not #lists.isEmpty(data.wuliaotu2)}">
            <div id="uploader-demo" style="width: 10rem">
                <div id="filePickerd" class="zhaopianbeijing" style="width: 10rem"></div>
                <div id="fileList" class="xqtu uploader-list" style="width: 10rem"  th:style="'width: 10rem;background-image: url('+${data.wuliaotu2}+')'"></div>
            </div>
        </div>
            <div id="shctp1"   th:if="${not #lists.isEmpty(data.wuliaotu3)}">
            <div id="uploader-demo" style="width: 10rem">
                <div id="filePickerd" class="zhaopianbeijing" style="width: 10rem"></div>
                <div id="fileList" class="xqtu uploader-list" style="width: 10rem"  th:style="'width: 10rem;background-image: url('+${data.wuliaotu3}+')'"></div>
            </div>
        </div>
            <div id="shctp1"  th:if="${not #lists.isEmpty(data.wuliaotu4)}" >
                <div id="uploader-demo" style="width: 10rem">
                    <div id="filePickerd" class="zhaopianbeijing" style="width: 10rem"></div>
                    <div id="fileList" class="xqtu uploader-list" style="width: 10rem"  th:style="'width: 10rem;background-image: url('+${data.wuliaotu4}+')'"></div>
                </div>
            </div>
            <div id="shctp1" th:if="${not #lists.isEmpty(data.wuliaotu5)}" >
                <div id="uploader-demo" style="width: 10rem">
                    <div id="filePickerd" class="zhaopianbeijing" style="width: 10rem"></div>
                    <div id="fileList" class="xqtu uploader-list" style="width: 10rem"  th:style="'width: 10rem;background-image: url('+${data.wuliaotu5}+')'"></div>
                </div>
            </div>
        </div>
    </form>

    <div class="kuaiw"></div>
    <div class="nextx" th:if="${type==0}" th:onclick="'jujue('+${data.demandId}+')'">
        <p class="nextdd">拒绝</p>
    </div>

    <div class="kuaiw"></div>
    <div class="nextx" th:if="${type==1}" onclick="save()">
        <p class="nextdd">正在审核中</p>
    </div>
    <div class="kuaiw"></div>
    <div class="nextx" th:if="${type==6}" onclick="save()">
        <p class="nextdd">已完成</p>
    </div>

</div>



<script type="text/javascript" src="../js/jquery.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.min.js'}"></script>
<script type="text/javascript" src="../js/CLSRZ.js" th:src="@{${uiPath} + ${appName} + '/js/CLSRZ.js'}"></script>
<!--
<script type="text/javascript" src="../js/webuploader.min.js" th:src="@{${uiPath} + ${appName} + '/js/webuploader.min.js'}"></script>
-->
<script type="text/javascript" src="../js/zdialog.js" th:src="@{${uiPath} + ${appName} + '/js/zdialog.js'}"></script>

<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" th:src="'http://res.wx.qq.com/open/js/jweixin-1.2.0.js'"></script>

<script th:inline="javascript">
function jujue(id){
    $.ajax({
        type:'post',
        url:'/designerUser/jujuewl',
        data:{'id':id},
        dataType:'json',
        success:function (result) {
            if(result.code==1){
                $.DialogByZ.Close();
                $.DialogByZ.Alert({Title: "提交成功", Content:result.data ,BtnL:"确定",BtnR:"取消"})
            }else{
                $.DialogByZ.Close();
                $.DialogByZ.Alert({Title: "已存在此需求单的案例，如需修改请点击修改", Content:result.data  ,BtnL:"确定"})
            }
        }
    })

}
</script>

</body>
</html>